projects
/
babl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f41d144
)
babl: fix minor leak reported in bug #790924
author
Øyvind Kolås
<pippin@gimp.org>
Wed, 7 Feb 2018 18:53:48 +0000
(19:53 +0100)
committer
Øyvind Kolås
<pippin@gimp.org>
Wed, 7 Feb 2018 18:53:48 +0000
(19:53 +0100)
babl/babl-format.c
patch
|
blob
|
history
diff --git
a/babl/babl-format.c
b/babl/babl-format.c
index 1db5f023797fcf74571bb3b65e76b11ef762a649..bc5ef6b040c6a89ccacc93a6c8d9fab44d581434 100644
(file)
--- a/
babl/babl-format.c
+++ b/
babl/babl-format.c
@@
-737,6
+737,8
@@
babl_format_with_space (const char *name, const Babl *space)
sprintf (new_name, "%s-%s", name, babl_get_name ((Babl*)space));
ret = babl_db_exist_by_name (db, new_name);
+
+ babl_free (new_name);
if (ret)
return ret;